Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: create the v059x node-override.yaml via solo #1192

Merged

Conversation

instamenta
Copy link
Contributor

@instamenta instamenta commented Jan 21, 2025

Description

Adds new class NodeOverridesModel which creates the node-override.yaml inside the staging directory and then copies it inside the nodes during node setup

Related Issues

@instamenta instamenta self-assigned this Jan 21, 2025
@instamenta instamenta requested review from leninmehedy and a team as code owners January 21, 2025 14:08
@instamenta instamenta linked an issue Jan 21, 2025 that may be closed by this pull request
Copy link
Contributor

github-actions bot commented Jan 21, 2025

Unit Test Results - Linux

  1 files  ±0   59 suites  ±0   2s ⏱️ -1s
231 tests ±0  231 ✅ ±0  0 💤 ±0  0 ❌ ±0 
240 runs  ±0  240 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit f10ad50. ± Comparison against base commit fb92fd6.

♻️ This comment has been updated with latest results.

Copy link
Contributor

github-actions bot commented Jan 21, 2025

Unit Test Results - Windows

  1 files  ±0   59 suites  ±0   4s ⏱️ -1s
231 tests ±0  231 ✅ ±0  0 💤 ±0  0 ❌ ±0 
240 runs  ±0  240 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit f10ad50. ± Comparison against base commit fb92fd6.

♻️ This comment has been updated with latest results.

@jeromy-cannon jeromy-cannon requested a review from a team as a code owner January 21, 2025 18:20
@jeromy-cannon jeromy-cannon added the PR: Checks Failed A pull request where the checks have failed. label Jan 23, 2025
instamenta and others added 6 commits January 23, 2025 17:04
… to convert the interfaceBindings and endpointOverrides to JSON and to emit them as keys if they are not needed

Signed-off-by: instamenta <[email protected]>
@jeromy-cannon jeromy-cannon added the PR: Merge Conflicts A pull request that has merge conflicts that need to be resolved. label Jan 31, 2025
…x-network-overrideyml-via-solo

# Conflicts:
#	src/core/genesis_network_models/genesis_network_data_constructor.ts
@instamenta instamenta removed the PR: Merge Conflicts A pull request that has merge conflicts that need to be resolved. label Feb 3, 2025
@instamenta instamenta changed the title feat: create the v059x network-override.yaml via solo feat: create the v059x node-override.yaml via solo Feb 3, 2025
Copy link

codacy-production bot commented Feb 7, 2025

Coverage summary from Codacy

See diff coverage on Codacy

Coverage variation Diff coverage
+0.95% (target: -1.00%) 92.54%
Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (fb92fd6) 22426 18646 83.14%
Head commit (f10ad50) 22521 (+95) 18940 (+294) 84.10% (+0.95%)

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#1192) 134 124 92.54%

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

See your quality gate settings    Change summary preferences

Codacy stopped sending the deprecated coverage status on June 5th, 2024. Learn more

Copy link

codecov bot commented Feb 7, 2025

Codecov Report

Attention: Patch coverage is 91.79104% with 11 lines in your changes missing coverage. Please review.

Project coverage is 83.12%. Comparing base (fb92fd6) to head (f10ad50).
Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
...network_models/genesis_network_data_constructor.ts 83.63% 9 Missing ⚠️
src/core/node_overrides_model.ts 96.22% 2 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1192      +/-   ##
==========================================
+ Coverage   82.15%   83.12%   +0.96%     
==========================================
  Files         118      119       +1     
  Lines       22426    22521      +95     
  Branches     1569     1483      -86     
==========================================
+ Hits        18424    18720     +296     
+ Misses       3929     3754     -175     
+ Partials       73       47      -26     
Files with missing lines Coverage Δ
src/commands/node/handlers.ts 85.11% <100.00%> (-0.02%) ⬇️
src/commands/node/tasks.ts 93.81% <100.00%> (+1.54%) ⬆️
src/core/constants.ts 97.27% <100.00%> (+0.01%) ⬆️
src/core/platform_installer.ts 88.23% <100.00%> (+0.94%) ⬆️
src/core/templates.ts 77.50% <100.00%> (+0.83%) ⬆️
src/core/node_overrides_model.ts 96.22% <96.22%> (ø)
...network_models/genesis_network_data_constructor.ts 88.31% <83.63%> (+72.92%) ⬆️

... and 25 files with indirect coverage changes

Impacted file tree graph

@JeffreyDallas JeffreyDallas added PR: Needs Approval A pull request that needs reviews and approvals. and removed PR: Checks Failed A pull request where the checks have failed. labels Feb 7, 2025
src/types/index.ts Outdated Show resolved Hide resolved
JeffreyDallas and others added 13 commits February 7, 2025 15:37
Signed-off-by: Jeffrey Tang <[email protected]>
Co-authored-by: Jeromy Cannon <[email protected]>
Signed-off-by: JeffreyDallas <[email protected]>
Co-authored-by: Jeromy Cannon <[email protected]>
Signed-off-by: JeffreyDallas <[email protected]>
Co-authored-by: Jeromy Cannon <[email protected]>
Signed-off-by: JeffreyDallas <[email protected]>
Co-authored-by: Jeromy Cannon <[email protected]>
Signed-off-by: JeffreyDallas <[email protected]>
Co-authored-by: Jeromy Cannon <[email protected]>
Signed-off-by: JeffreyDallas <[email protected]>
Co-authored-by: Jeromy Cannon <[email protected]>
Signed-off-by: JeffreyDallas <[email protected]>
Co-authored-by: Jeromy Cannon <[email protected]>
Signed-off-by: JeffreyDallas <[email protected]>
Co-authored-by: Jeromy Cannon <[email protected]>
Signed-off-by: JeffreyDallas <[email protected]>
Signed-off-by: Jeffrey Tang <[email protected]>
@jeromy-cannon jeromy-cannon merged commit 283d35c into main Feb 8, 2025
41 of 42 checks passed
@jeromy-cannon jeromy-cannon deleted the 01151-create-the-v059x-network-overrideyml-via-solo branch February 8, 2025 17:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: Needs Approval A pull request that needs reviews and approvals.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

create the v0.59.x node-override.yml via Solo
3 participants